From 6047ed3ebd1c903e43c106f596b29a7eb35ba605 Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Tue, 1 Dec 1998 01:22:37 +0000 Subject: [PATCH] fixed a stupid error of mine about the run type values. Tue Dec 1 02:19:54 1998 Tim Janik * gtk/gtkenums.h: fixed a stupid error of mine about the run type values. --- ChangeLog | 5 +++++ ChangeLog.pre-2-0 | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-2 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtkenums.h | 13 +++++++------ 8 files changed, 42 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5e745adb0c..01f5c5ffbf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Dec 1 02:19:54 1998 Tim Janik + + * gtk/gtkenums.h: fixed a stupid error of mine about the run type + values. + 1998-11-30 Elliot Lee * {gdk,gtk}/*.c: Make read-only data structures "static const" to diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 5e745adb0c..01f5c5ffbf 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +Tue Dec 1 02:19:54 1998 Tim Janik + + * gtk/gtkenums.h: fixed a stupid error of mine about the run type + values. + 1998-11-30 Elliot Lee * {gdk,gtk}/*.c: Make read-only data structures "static const" to diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 5e745adb0c..01f5c5ffbf 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Tue Dec 1 02:19:54 1998 Tim Janik + + * gtk/gtkenums.h: fixed a stupid error of mine about the run type + values. + 1998-11-30 Elliot Lee * {gdk,gtk}/*.c: Make read-only data structures "static const" to diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 5e745adb0c..01f5c5ffbf 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +Tue Dec 1 02:19:54 1998 Tim Janik + + * gtk/gtkenums.h: fixed a stupid error of mine about the run type + values. + 1998-11-30 Elliot Lee * {gdk,gtk}/*.c: Make read-only data structures "static const" to diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 5e745adb0c..01f5c5ffbf 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Tue Dec 1 02:19:54 1998 Tim Janik + + * gtk/gtkenums.h: fixed a stupid error of mine about the run type + values. + 1998-11-30 Elliot Lee * {gdk,gtk}/*.c: Make read-only data structures "static const" to diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 5e745adb0c..01f5c5ffbf 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Tue Dec 1 02:19:54 1998 Tim Janik + + * gtk/gtkenums.h: fixed a stupid error of mine about the run type + values. + 1998-11-30 Elliot Lee * {gdk,gtk}/*.c: Make read-only data structures "static const" to diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 5e745adb0c..01f5c5ffbf 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Tue Dec 1 02:19:54 1998 Tim Janik + + * gtk/gtkenums.h: fixed a stupid error of mine about the run type + values. + 1998-11-30 Elliot Lee * {gdk,gtk}/*.c: Make read-only data structures "static const" to diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h index 3dd9a8aa77..0d228ea2f7 100644 --- a/gtk/gtkenums.h +++ b/gtk/gtkenums.h @@ -158,7 +158,8 @@ typedef enum typedef enum { GTK_POLICY_ALWAYS, - GTK_POLICY_AUTOMATIC + GTK_POLICY_AUTOMATIC, + GTK_POLICY_NEVER } GtkPolicyType; typedef enum @@ -194,12 +195,12 @@ typedef enum /* signal run types */ typedef enum /*< flags >*/ { - GTK_RUN_FIRST = 0x01, - GTK_RUN_LAST = 0x02, + GTK_RUN_FIRST = 1 << 0, + GTK_RUN_LAST = 1 << 1, GTK_RUN_BOTH = (GTK_RUN_FIRST | GTK_RUN_LAST), - GTK_RUN_NO_RECURSE = 0x10, - GTK_RUN_ACTION = 0x20, - GTK_RUN_NO_HOOKS = 0x30 + GTK_RUN_NO_RECURSE = 1 << 2, + GTK_RUN_ACTION = 1 << 3, + GTK_RUN_NO_HOOKS = 1 << 4 } GtkSignalRunType; /* scrolling types */ -- 2.30.2